package trading.ctm.yunjing.module.login.activity

import android.os.Bundle
import cc.vv.baselibrary.activity.BaseActivity
import cc.vv.baselibrary.view.BaseTopBarView
import kotlinx.android.synthetic.main.activity_regist_success.*
import trading.ctm.yunjing.R
import trading.ctm.yunjing.util.countDownTime

/**
 * @desc 注册成功
 * @author zouxiaorui
 * @date  2018/8/8
 */
class RegistSuccessActivity : BaseActivity(){

    override fun initLayoutRes(): Int {
        return R.layout.activity_regist_success
    }

    override fun initView(bundle: Bundle?) {
        super.initView(bundle)

        tv_ars_account.text = "您的交易账号：" + ""
        countDownTime(tv_ars_count_down_time, 3000, "秒后进入首页")
    }

    override fun initAction(data: Bundle?) {
        super.initAction(data)
        btbv_ars_title.setEventInterface(object : BaseTopBarView.EventInterface{
            override fun leftOnClick() {
                finish()
            }

            override fun leftCloseClick() {
            }

            override fun rightOnClick() {
            }

        })
    }


}